package no.eirikb.bomberman.shared.img;

import java.io.Serializable;
import java.util.ArrayList;
import javax.swing.ImageIcon;

/**
 *
 * @author eirikb
 */
public class ImgCharacter implements Serializable {

    private ArrayList<ImageIcon> left;
    private ArrayList<ImageIcon> right;
    private ArrayList<ImageIcon> up;
    private ArrayList<ImageIcon> down;

    public ImgCharacter() {
        left = new ArrayList<ImageIcon>();
        right = new ArrayList<ImageIcon>();
        up = new ArrayList<ImageIcon>();
        down = new ArrayList<ImageIcon>();
    }

    public void addLeft(ImageIcon left) {
        this.left.add(left);
    }

    public void addRight(ImageIcon right) {
        this.right.add(right);
    }

    public void addUp(ImageIcon up) {
        this.up.add(up);
    }

    public void addDown(ImageIcon down) {
        this.down.add(down);
    }

    public ArrayList<ImageIcon> getLeft() {
        return left;
    }

    public ArrayList<ImageIcon> getRight() {
        return right;
    }

    public ArrayList<ImageIcon> getUp() {
        return up;
    }

    public ArrayList<ImageIcon> getDown() {
        return down;
    }
}
